<script type="text/javascript">

document.location.href = '<?php echo url_for('@logout_aplication') ?>';

</script>